<template>
  <div class="back">
    <a @click='back'>
      <svg
        xmlns="http://www.w3.org/2000/svg"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        t="1550895476938"
        class="icon"
        style
        viewBox="0 0 1000 1000"
        version="1.1"
        p-id="2854"
        width=".25rem"
        height=".25rem"
      >
        <path
          d="M439.312 227.986l-257.492 257.492c-20.11 20.11-20.11 52.709 0 72.819l257.492 257.492c20.11 20.11 52.709 20.11 72.819 0s20.11-52.709 0-72.819l-169.585-169.585h493.664c28.453 0 51.499-23.046 51.499-51.499s-23.046-51.499-51.499-51.499h-493.664l169.585-169.585c10.043-10.042 15.089-23.226 15.089-36.41s-5.021-26.367-15.089-36.41c-20.11-20.11-52.709-20.11-72.819 0z"
          p-id="2855"
        ></path>
      </svg>
    </a>
  </div>
</template>

<script>
export default {
  props:{
    frompath:String
  },
  methods:{
    back(){
      this.$router.go(-1)
    }
  }
};
</script>

<style lang="stylus" scoped>
.back
  margin-left 0.17rem
  svg
    fill #4c4c4c
</style>
